package com.syzsn.common.entity;

import com.syzsn.common.enums.ContinentSubType;
import com.syzsn.common.enums.ContinentType;
import com.syzsn.common.enums.SK2013Type;
import com.syzsn.sk8.enums.SK8Type;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

@Entity(name = "SY_COUNTRY")
@Data
public class SyCountry implements Serializable {

    @Id
    private String id;

    @Column(name = "cn_name")
    private String cnName;

    @Column(name = "en_name")
    private String enName;

    @Column(name = "continent_type")
    @Enumerated(EnumType.STRING)
    private ContinentType continentType;

    @Column(name = "continent_sub_type")
    @Enumerated(EnumType.STRING)
    private ContinentSubType continentSubType;

    @Column(name = "code")
    private String code;

    @Column(name = "sk8_type")
    @Enumerated(EnumType.STRING)
    private SK8Type sk8Type;

    @Column(name = "sk2013_type")
    @Enumerated(EnumType.STRING)
    private SK2013Type sk2013Type;

    @Column(name = "SK8_INTERGRAL")
    private Integer sk8Intergral;

    @Column(name = "SK8_RANK")
    private Integer sk8Rank;

    @Column(name = "SK8_ONE_CNT")
    private Integer sk8OneCnt;

    @Column(name = "SK8_TWO_CNT")
    private Integer sk8TwoCnt;

    @Column(name = "SK8_THREE_CNT")
    private Integer sk8ThreeCnt;

    @Column(name = "SK8_FOUR_CNT")
    private Integer sk8FourCnt;

    @Column(name = "SK8_EIGHT_CNT")
    private Integer sk8EightCnt;

    @Column(name = "SK8_SIXTEEN_CNT")
    private Integer sk8SixteenCnt;

    @Column(name = "SK8_WCGROUP_CNT")
    private Integer sk8WcgroupCnt;

    @Column(name = "SK2013_INTERGRAL")
    private Integer sk2013Intergral;

    @Column(name = "SK2013_RANK")
    private Integer sk2013Rank;

}
